package com.ruoyi.project.system.inventory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 【请填写功能名称】对象 zz_inventory
 * 
 * @author ruoyi
 * @date 2020-10-30
 */
public class ZzInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存表id */
    private Integer inventoryId;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer productId;

    /** 库存商品数量 */
    @Excel(name = "库存商品数量")
    private Integer inventoryProductNumber;

    /** 入库时间 */
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inventoryEnterStoreDatetime;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String inventoryDr;

    public void setInventoryId(Integer inventoryId) 
    {
        this.inventoryId = inventoryId;
    }

    public Integer getInventoryId() 
    {
        return inventoryId;
    }
    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }
    public void setInventoryProductNumber(Integer inventoryProductNumber) 
    {
        this.inventoryProductNumber = inventoryProductNumber;
    }

    public Integer getInventoryProductNumber() 
    {
        return inventoryProductNumber;
    }
    public void setInventoryEnterStoreDatetime(Date inventoryEnterStoreDatetime) 
    {
        this.inventoryEnterStoreDatetime = inventoryEnterStoreDatetime;
    }

    public Date getInventoryEnterStoreDatetime() 
    {
        return inventoryEnterStoreDatetime;
    }
    public void setInventoryDr(String inventoryDr) 
    {
        this.inventoryDr = inventoryDr;
    }

    public String getInventoryDr() 
    {
        return inventoryDr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inventoryId", getInventoryId())
            .append("productId", getProductId())
            .append("inventoryProductNumber", getInventoryProductNumber())
            .append("inventoryEnterStoreDatetime", getInventoryEnterStoreDatetime())
            .append("inventoryDr", getInventoryDr())
            .toString();
    }
}
